package com.zh.elec.service.impl;

import java.util.List;

import com.zh.elec.dao.ServicesDao;
import com.zh.elec.model.Services;
import com.zh.elec.service.ServicesService;

/**
 * 报修表
 * @author scy
 *
 */
public class ServicesServiceImpl implements ServicesService {

	private  ServicesDao servicesDao;
	@Override
	public Object save(Services obj) {
		return servicesDao.save(obj);
	}

	@Override
	public Object update(Services obj) {
		return servicesDao.update(obj);
	}

	@Override
	public Object getObjById(Services obj) {
		return servicesDao.getObjById(obj);
	}

	@Override
	public Object del(Services obj) {
		return servicesDao.del(obj);
	}

	@Override
	public List<Services> find(String hql) {
		return servicesDao.findByHql(hql);
	}

	@Override
	public List<Services> findByName(String name, Object value) {
		return servicesDao.findByName(name, value);
	}
	@Override
	public List<Services> findAll() {
		return servicesDao.findAll();
	}
	public ServicesDao getServicesDao() {
		return servicesDao;
	}

	public void setServicesDao(ServicesDao servicesDao) {
		this.servicesDao = servicesDao;
	}
}
